package com.eip.zd.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Project {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId
    private Long id;
    private String projectName;
    private String custId;
    @TableField(exist = false)
    private String custName;
    @TableField(exist = false)
    private String userName;
    private String userId;
    private Boolean ifSingle;
    private Integer ifUse;
    private String validDate;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    private Integer deleted;
}
